package net.zigin.nhi.could.waste.model;

import java.util.Date;
import lombok.Data;
import net.zigin.commons.util.StringUtil;

/*#################################################################*
# 说明:以下代码通过哲勤代码生成工具自动生成    
# 工具:GeneratorCode
# 作者:mgw1986                                                  
# 生成时间:2021-9-14 15:44:49                                               
##################################################################*/

/**
 * 
 *  NoticeReceive实体类
 * @ClassName: NoticeReceive
 * @author mgw1986
 * @date 2021-9-14 15:44:49
 * @version V1.0
 */
@Data
public class NoticeReceive {
     //通知接收人ID--->列名: id 
	private String id;
     //用户ID--->列名: sys_user_id 
	private String sysUserId;
     //是否已读（0：否，1：是）--->列名: is_read 
	private int isRead;
     //已读时间--->列名: read_time 
	private Date readTime;
     //是否删除（0：否，1：是）--->列名: is_delete 
	private int isDelete;
     //删除时间--->列名: delete_time 
	private Date deleteTime;
     //公告ID--->列名: notice_message_id 
	private String noticeMessageId;

    public NoticeReceive() {
    }

    public NoticeReceive(String sysUserId, String noticeMessageId) {
        this.id = StringUtil.get32UUID();
        this.isRead = 0;
        this.isDelete = 0;
        this.sysUserId = sysUserId;
        this.noticeMessageId = noticeMessageId;
    }
}
